﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;


namespace BierdopjeTV.Helpers
{
    static class FileHelper
    {

        static public List<string> GetSubFolders(string path)
        {
            List<String> _SubFolders = new List<String>();

            string[] SubDirList = Directory.GetDirectories(path);

            //Add yourselfs!
            _SubFolders.Add(path);
            //Try to scan the folders and there subfolders
            foreach (string dir in SubDirList)
            {
                _SubFolders.Add(dir);
            }

            return _SubFolders;

        }

    }
}
